#include <stdio.h>
#define N 80
void fun(char *s)
{
	int i;
	for(i=0;s[i]!='\0';i++)
	{
		if(i%2==1)
		{	
			if(s[i]=='Z')
				s[i]=s[i]+32;
			else if(s[i]<='Z'&&s[i]>='A')
				s[i]=s[i]+33;
		}
	}

}
main()
{  char s[N];
   printf("Enter a string: ");scanf("%s",s);
   fun(s);
   printf("The result:%s",s);
}
